<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>全国两会，我们来了</title>
    <meta name="description" content="全国两会，我们来了" />
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
    <link href="https://nowechat.oss-cn-shenzhen.aliyuncs.com/lianghui/style.css" rel="stylesheet">

</head>

<body >

<img class="title" src="https://nowechat.oss-cn-shenzhen.aliyuncs.com/lianghui/images/title.png" />
<img class="button" src="https://nowechat.oss-cn-shenzhen.aliyuncs.com/lianghui/images/button.png" onclick="toList()"/>
<audio id="bgmusic" autoplay style="display: none;" src="http://nowechat.oss-cn-shenzhen.aliyuncs.com/lianghui/%E7%BA%AF%E9%9F%B3%E4%B9%90%20-%20%E6%AC%A2%E5%BF%AB%E8%BD%BB%E6%9D%BE%E7%9A%84%E9%9F%B3%E4%B9%90.mp3">/audio>
</body>
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
    (function () {
        var designWidth = 750, rem2px = 100;
        document.documentElement.style.fontSize = ((window.innerWidth / designWidth) * rem2px) + 'px';

        var meta = document.getElementsByTagName('meta');
        var share_desc = '';
        for(i in meta){
            if(typeof meta[i].name!="undefined"&&meta[i].name.toLowerCase()=="description"){
                share_desc = meta[i].content;
            }
        }
        var apilist='<%= jssdk.jsApiList %>';
        apilist=apilist.split(',');
        wx.config({
            debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来，若要查看传入的参数，可以在pc端打开，参数信息会通过log打出，仅在pc端时才会打印。
            appId: '<%= jssdk.appId %>',
            timestamp: '<%= jssdk.timestamp %>',
            nonceStr: '<%= jssdk.nonceStr %>',
            signature: '<%= jssdk.signature %>',
            jsApiList: apilist
        });
        wx.ready(function(){
            document.getElementById('bgmusic').play();
            // 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口
            wx.onMenuShareTimeline({
                title: document.title, // 分享标题
                link:window.location.href,
                imgUrl:'http://nowechat.oss-cn-shenzhen.aliyuncs.com/titlezero.jpg' // 分享图标
            });
            // 获取“分享给朋友”按钮点击状态及自定义分享内容接口
            wx.onMenuShareAppMessage({
                title: document.title, // 分享标题
                desc: share_desc, // 分享描述
                link:window.location.href,
                imgUrl: "http://nowechat.oss-cn-shenzhen.aliyuncs.com/titlezero.jpg", // 分享图标
                type: 'link' // 分享类型,music、video或link，不填默认为link
            });

        });

    }());
    function toList() {
        window.location.href="/app/lianghui/list?wid=4";
    }
    $(".title").addClass("big");

</script>

</html>